pickAsync

fun pickAsync(x: Float, y: Float, width: Float = 0.0f, height: Float = 0.0f, pickCenter: Boolean = true): Deferred<PickedObjectList>

Determines the WorldWind shapes displayed in a screen rectangle. The screen rectangle is interpreted as coordinates in Android screen pixels relative to this view.

Return

a deferred list of WorldWind shapes in the screen rectangle

Parameters

x

the screen rectangle's X coordinate in Android screen pixels

y

the screen rectangle's Y coordinate in Android screen pixels

width

the screen rectangle's width in Android screen pixels

height

the screen rectangle's height in Android screen pixels

pickCenter

picks top shape and terrain in rectangle center as priority